/************************************************************************************** 
    WFActivity

    Copyright (C) 2010 =OsDevD=

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation; either version 2.1 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 **************************************************************************************
 */
package ez.workflow.event;

import java.util.EventObject;

import ez.workflow.process.WFProcess;

/**
 * 
 * @author OSDevD
 *
 */
public class WFEvent extends EventObject {

	@Override
	public Object getSource() {
		// TODO Auto-generated method stub
		return super.getSource();
	}


	public WFEvent(Object source) {
		super(source);
		// TODO Auto-generated constructor stub
	}


	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return super.toString();
	}


	/**
	 * 
	 * @param surce
	 * @param type
	 */
    public WFEvent(Object source, int type)
    {
        super(source);
        if (source == null)
        {
            throw new IllegalArgumentException("Illegal Argument Exception");
        }
    }


    /**
     * 
     * @return
     */
    public final WFProcess getWorkflow()
    {
        return null;
    }
}
